#ifndef HASHPRINTER_H_
#define HASHPRINTER_H_

#include "../HashExtensible/HashFile.h"

#include <iostream>
#include <fstream>

class HashFile; 	// Forward declaration


class HashPrinter {
private:
	HashFile& _hash;

	std::ostream& abrirOutStream(std::string nomArch, std::ofstream& fout) const;
	void cerrarOutStream(std::ofstream& fout) const;

public:
	HashPrinter(HashFile& h);

	void ImprimirDatos(std::string nomArch = "") const;
};

#endif /* HASHPRINTER_H_ */
